<template>
  <div>
    <div class="header">
      <div class="search">
        <router-link to="/my">
        <div class="iconfont icon-wode"></div>
        </router-link>
        <div class="header-inp">
          <div class="iconfont icon-sousuo"></div>
          <router-link to="/search">
          <input type="text" placeholder="晚餐" name="" id="">
          </router-link>
        </div>
        <div class="header-Icon">
          <router-link to="/collection">
            <span class="iconfont icon-daohangfenlei"></span>
          </router-link>
          <router-link to="/news">
          <span class="iconfont icon-lingdang"></span>
          </router-link>
        </div>
      </div>
      <div class="header-title">
        <ul>
          <router-link tag="li" to="/follow">
          关注
          </router-link>
          <router-link tag="li" to="/recommend">
          推荐
          </router-link>
          <router-link tag="li" to="/note">
          笔记
          </router-link>
          <router-link tag="li" to="/video">
          视频
          </router-link>
          <router-link tag="li" to="/activity">
          活动
          </router-link>
        
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less">
  .header{
    display: block;
     z-index: 100;
    // position: fixed;
    top: 0px;
    width: 100%;
    background-color: #FFFFFF;
      padding-top: 30px;
    .search{
      display: flex;
      align-items: center;
      .iconfont{
        margin-left: 15px;
        color: #151515;
        font-size: 20px;
        line-height: 22px;
       
        font-weight: bold;
      }
      .header-inp{
        position: relative;
        margin-left: 10px;
        display: flex;
        width: 61%;
        height: 30px;
        .iconfont{
         font-size: 16px;
          position: absolute;
          left: 10px;
          top:4px;
          margin: auto;
          color: #A1A1A1;
        }
        input{
          width: 100%;
          height: 100%;
          border:transparent;
           outline: none;
          background-color: #F5F5F5;
          border-radius: 5px;
          font-size: 12px;
          line-height: 30px;
          padding-left: 35px;
          color: #A1A1A1;
          &::-webkit-input-placeholder{
             color: #A1A1A1;
            }
        }
      }
      .header-Icon{
        display: flex;
        align-items: center;
        span{
          display: block;
          margin-left: 22px;
          font-size: 20px;
          color: black;
         
        }
      }
    }
    .header-title{
      margin-top: 20px;
      ul{
          display: flex;
          align-items: center;
          justify-content: space-around;
          li{
            font-size: 10px;
            color: #6D6D6D;
            line-height: 26px;
          &.router-link-active{
            font-size: 18px;
            color: #000000;
            font-weight: bold;
            border-bottom:3px solid #FFBE1A;
          }
          
            }
        }
    }
  }
  
</style>